package org.jsola.hr.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import static org.jsola.hr.example.CompanyEmpInfoRequireExample.*;

/**
 * @author zhr
 */
@EqualsAndHashCode(callSuper = true)
@ApiModel(description = "【公司员工所需信息】详情展示对象")
@Data
public class CompanyEmpAllInfoRequireVO extends CompanyEmpInfoRequireVO {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(notes = "【公司员工联系人所需信息】")
    private EmpContactsRequireVO empContactsRequireVO;

    @ApiModelProperty(notes = "【公司员工工作经历所需信息】")
    private EmpWorkRequireVO empWorkRequireVO;

    @ApiModelProperty(notes = "【公司员工教育经历所需信息】")
    private EmpEducationRequireVO empEducationRequireVO;

    @ApiModelProperty(notes = "【公司员工证件信息所需信息】")
    private EmpCardRequireVO empCardRequireVO;

    @ApiModelProperty(notes = "【公司员工培训记录所需信息】")
    private EmpTrainRequireVO empTrainRequireVO;

    @ApiModelProperty(notes = "【公司员工证书所需信息】")
    private EmpCertificateRequireVO empCertificateRequireVO;


    @ApiModelProperty(notes = N_TAB_CONTACTS, example = E_TAB_CONTACTS)
    private Integer empContactsList;

    @ApiModelProperty(notes = N_TAB_WORK, example = E_TAB_WORK)
    private Integer empWorkList;

    @ApiModelProperty(notes = N_TAB_EDUCATION, example = E_TAB_EDUCATION)
    private Integer empEducationList;

    @ApiModelProperty(notes = N_TAB_CARD, example = E_TAB_CARD)
    private Integer empCardList;

    @ApiModelProperty(notes = N_TAB_TRAIN, example = E_TAB_TRAIN)
    private Integer empTrainList;

    @ApiModelProperty(notes = N_TAB_CERTIFICATE, example = E_TAB_CERTIFICATE)
    private Integer empCertificateList;


    public Integer getEmpContactsList() {
        return getTabContacts();
    }

    public Integer getEmpWorkList() {
        return getTabWork();
    }

    public Integer getEmpEducationList() {
        return getTabEducation();
    }

    public Integer getEmpCardList() {
        return getTabCard();
    }

    public Integer getEmpTrainList() {
        return getTabTrain();
    }

    public Integer getEmpCertificateList() {
        return getTabCertificate();
    }
}

